Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: refactor to async/await #353

Merged
merged 1 commit into from
Jul 5, 2019
Merged

chore: refactor to async/await #353

merged 1 commit into from
Jul 5, 2019

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain force-pushed the async-await branch 4 times, most recently from 92ae1ce to d4caf41 Compare July 4, 2019 12:00
@achingbrain achingbrain mentioned this pull request Jul 4, 2019
achingbrain added a commit to ipfs/aegir that referenced this pull request Jul 5, 2019
A common use of hooks in aegir is to start and stop an ipfs node for
browser tests to run against.

Since they all use ipfsd-ctl and that is moving to async/await in
ipfs/js-ipfsd-ctl#353 as part of ipfs/js-ipfs#1670, it would be
nice to not have to mix async and callbacks in the hooks.

This PR adds support for async hooks while not breaking existing
callback based ones.
hugomrdias pushed a commit to ipfs/aegir that referenced this pull request Jul 5, 2019
A common use of hooks in aegir is to start and stop an ipfs node for
browser tests to run against.

Since they all use ipfsd-ctl and that is moving to async/await in
ipfs/js-ipfsd-ctl#353 as part of ipfs/js-ipfs#1670, it would be
nice to not have to mix async and callbacks in the hooks.

This PR adds support for async hooks while not breaking existing
callback based ones.
Copy link
Member

@hugomrdias hugomrdias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please update the bundlesize maxSize in .aegir.js

.aegir.js Show resolved Hide resolved
@hugomrdias hugomrdias merged commit ab1a2a4 into master Jul 5, 2019
@hugomrdias hugomrdias deleted the async-await branch July 5, 2019 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants